package com.example.logistics_oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.xinzi.JibenButiejisuan;
import com.example.comment_oa.pojos.xinzi.JibenGongzidan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【jiben_gongzidan】的数据库操作Service
* @createDate 2023-02-05 16:19:48
*/
public interface JibenGongzidanService extends IService<JibenGongzidan> {
    public int insertAllGongZiDan(JibenGongzidan jibenGongzidan);
    public List<JibenGongzidan> selectALlGongZiDan(String jibenId);

    public int updateGongZiDanByQiTa(@Param("qian")Double qian, @Param("jibenId") String jibenId, @Param("gonghao") String gonghao);

    public int updateGongZhiDanOne(@Param("jibenZhujian") int jibenZhujian);

    public int updateGongZhiDanAll(@Param("jibenId") String  jibenId);
    public List<JibenGongzidan> selectByIdAndSend (@Param("jibenId") String jibenId , @Param("jibensend") int jibensend);

    public int updateShiJian(String jibenId);

    public List<JibenGongzidan> selectOnePersonGongDe(@Param("jibenId") String jibenId, @Param("jibenGonghao") String jibenGonghao);
}
